package com.kotlin.mvpdemo.net;

import androidx.lifecycle.LiveData;

import com.kotlin.mvpdemo.entity.ApiResponse;
import com.kotlin.mvpdemo.entity.BaseEntity;
import com.kotlin.mvpdemo.entity.ChaptersEntity;

import java.util.List;

import retrofit2.http.GET;

/**
 * author : fang.zhang
 * e-mail : initzf@126.com
 * date   : 2020/6/6
 * desc   :
 */
public interface ApiService {

    @GET("/wxarticle/chapters/json")
    LiveData<ApiResponse<BaseEntity<List<ChaptersEntity>>>> getChapters();
}
